﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using WoChu.CF.Base;
using WoChu.RfClient.Entity;

namespace WoChu.RfClient.Duty
{
    [ServiceName(Name = "OnShelves")]
    public interface IOnShelves
    {

        [Mapping(MethodUrl = "GetLocationGoodsInfo?barCode={0}")]
        ResultModel<LocationGoodsInfo> GetLocationGoodsInfo(string barCode);

        [Mapping(MethodUrl = "SetOnShelves?userID={0}&objType={1}")]
        ResultModel<bool> SetOnShelves(string userID, string objType, List<LocationGoodsInfo> lstLocationGoods);

        [Mapping(MethodUrl = "CheckOnShelvesGoodsQTY?GoodsCode={0}&qty={1}")]
        ResultModel<bool> CheckOnShelvesGoodsQTY(string GoodsCode, int qty);

    }
}
